﻿using Phidgets;

namespace Coding4Fun.MissionControl.API.Models
{
    public class SerializableIRCode
    {
        public SerializableIRCode()
        {
        }

        IRLearnedCode code;
        
        public ToggleMask Mask { get; set; }
        public int BitSize { get; set; }
        public Phidgets.IRCodeInfo.IREncoding Encoding { get; set; }
        public int CarrierFrequency { get; set; }
        public int DutyCycle { get; set; }
        public int Gap { get; set; }
        public int[] Header { get; set; }
        public byte[] CodeData { get; set; }
        public int MinRepeat { get; set; }
        public int[] One { get; set; }
        public int[] Repeat { get; set; }
        public int Trail { get; set; }
        public int[] Zero { get; set; }
    }
}
